import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import {GovinfosComponent} from "./govinfos.component";
import {GovinfoAddComponent} from "./govinfo-add/govinfo-add.component";
import {GovinfoUpdateComponent} from "./govinfo-update/govinfo-update.component";

const routes: Routes = [
  {
    path: "",
    component: GovinfosComponent
  },
  {
    path: "add",
    component: GovinfoAddComponent
  },
  {
    path: "update",
    component: GovinfoUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class GovinfosRoutingModule { }
